<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
 <link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/style_login.css"/>
 <link rel="stylesheet" type="text/css" href=" <?php echo base_url();?>css/reset.css"/>
<title>Formulario Login</title>

</head>

<body>



<?php if(isset($error))
{
?>
<div id="error">
<?php
   echo $error;
?>
</div>
<?php
}
?>

 <img id="logo" src="<?php echo base_url();?>img/logo.jpg" alt=""/>


<section class="box login">
<?= form_open('validacion') ?>	<fieldset class="boxBody">
	  <label>Usuario</label>
	  <input type="text" name="username" id="username" tabindex="1" required>
	  <label>Contrase&ntilde;a</label>
	  <input type="password" name="password" id="password" tabindex="2" required>
	</fieldset>
	<footer>
	  
	  <input type="submit" class="btnLogin" value="Login" tabindex="4">
	</footer>
</form>
</section> 

<footer class="mainfooter">
    <p>Servicio web de ayuda a la gesti&oacute;n y monitorizaci&oacute;n de partes de incidencia para una empresa de prevenci&oacute;n de riesgos laborales.</p>
   
</footer>

</body>
</html>


